package exception.demo01;

/**
 * @author IT_Jay
 * @date 2022/1/27 19:40
 */

public class Test01 {
    //快捷键：选中语句块，Ctrl+Alt+T
    public static void main(String[] args) {
        try {
            System.out.println(1/0);
        } catch (Exception e) {
            System.exit(0);     //结束程序
            e.printStackTrace();        //打印错误的栈信息
        }
    }
}
